export default function isPhone() {
  const regExp
    = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i
  if (process.server) {
    return regExp.test(useRequestHeader('User-Agent') || '')
  }
  else {
    return regExp.test(navigator.userAgent)
  }
}
